﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class 送信NPC:任务NPC { 

            private string songxin;
        public string Songxin
        {
            get { return this.songxin; }
            set { this.songxin = value; }
        }

        public 送信NPC(string name, string type, string songxin) : base(name, type)
            {
                this.Name = name;
                this.Type = type;
                this.Songxin = songxin;
            }
            public  void xufangfa()
            {
                Console.WriteLine("我叫：{0}，我是：{1}", base.Name, base.Type);
                Console.WriteLine();
                Console.WriteLine("你能帮帮我吗？帮我去送信,1：{0}", this.Songxin);
            }
        }
    }

